-- GENERATED SPELL FOR [Ravasaur] --


function spell0_6505(pUnit, Event) --@Rend,n/a--
pUnit:FullCastSpellOnTarget(13443,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_6505', 15000, 1)
end

function Sorts_6505(pUnit, Event)
local choix_sorts_6505 = math.random(0, 0)
if choix_sorts_6505 == 0 then
pUnit:RegisterEvent('spell0_6505', 1, 1)
end
end

function mob6505_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6505', math.random(1500, 3000), 1)
end

function mob6505_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6505_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6505_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6505, 1, 'mob6505_Action')
RegisterUnitEvent(6505, 2, 'mob6505_Leave')
RegisterUnitEvent(6505, 3, 'mob6505_Kill')
RegisterUnitEvent(6505, 4, 'mob6505_Die')
